/*
* $Id: JournalSettings.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2008 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _JOURNAL_SETTINGS_H_
#define _JOURNAL_SETTINGS_H_

#include "../Setting.h"

class CJournalComponent;

class CJournalSettings : public CSettings
{
	CJournalComponent* m_pJournalComponents;
protected:
	virtual std::map<std::tstring, std::tstring> GetStates();
	virtual std::map<std::tstring, std::tstring> GetDefaultStates();
	virtual std::map<std::tstring, std::vector<Parameter> > GetParameters();
	virtual std::vector<Window> GetWindows();
	virtual std::tstring GetSaveValue(const std::tstring& strValueName, const std::tstring& strValue, bool& bSave);
	virtual void PostSave();
public:
	CJournalSettings(CJournalComponent* pJournalComponents);
	virtual ~CJournalSettings();
};

#endif /*_JOURNAL_SETTINGS_H_*/